package com.example.net

import android.content.Context
import android.content.Intent
import com.example.baseutils.log
import com.example.net.update.PullDataService
import com.example.net.update.PushDataService
import com.example.net.update.UpVersionService
import com.example.net.websocket.service.WebSocketService
import org.litepal.LitePal

/**
 * Author by lp,on 2022/3/24/024,16:47.
 */
object NetInit {
    fun init(context: Context){
        "init".log("NetInit")
        UpVersionService.startUpVersionService(context)
//        WebSocketService.startWebSocket(context)
//        context.startService(Intent(context, PullDataService::class.java))
//        context.startService(Intent(context, PushDataService::class.java))
        "init  after".log("NetInit")
    }
}